package com.losdun.points.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.losdun.points.domain.PointsOrder;

import java.util.List;

/**
 * 积分订单表
 *
 * @author swordye
 * @date 2025-05-19
 */
public interface PointsOrderService extends IService<PointsOrder>{


    List<PointsOrder> queryList(PointsOrder order);

    void insertOrder(PointsOrder order);

    void cancelOrder(Long orderId, Long userId);

    void updateOrder(PointsOrder order) throws Exception;

    void orderDelivery(Long orderId, PointsOrder order);

    void orderConfirmReceived(Long orderId,Long userId);

    PointsOrder getDetail(Long orderId,Long userId);
}

